shortkey for commenting javascript in Django project

I am using professional version.  In the .html file, I wrote javascript code.  If I use ctrl+/, it does not give the correct comment, instead of // it gives django template comment {# #}

How shoudl I make Pycharm automatically identify the javascript code in HTML as JS code, not template?  I tried to "Mark the static directory as source code" but it still does not work.

Please sign in to leave a comment.