Question: Where I can disable **"Unclosed comment"** inspection in PhpStorm?
[![Unclosed comment](https://i.stack.imgur.com/sFLY3.png)](https://i.stack.imgur.com/sFLY3.png)

I can't find this inspection settings

```
<script type="text/javascript">
    $(function () {
        /*// Typeahead
            var a = $.parseJSON('<?php //echo json_encode( $groups); ?>');
$('#query').typeahead({        
        local: a
});*/
    });
</script>

```

Answer: 
It's a known issue.

<https://youtrack.jetbrains.com/issue/WEB-22461> -- watch this ticket (star/vote/comment) to get notified on any progress.

Possible workaround -- use single line comments instead of block comments.
I had this issue too. PHPStorm seems to have trouble with inspecting mixed HTML/PHP files.

Until they fix the issue, you can disable real-time inspections:

[Picture I took as a test](https://i.stack.imgur.com/1NRWG.png)

If this concerns you, you can always just run a manual code inspection by navigating the menus to the option:

Code > Inspect Code