How can I set up a new comment string in PyCharm for DTL code in .html file?
In PyCharm we have a convinient way to turn off selected part of a code by pressing Ctrl+/. Later we can turn it on back by pressing the same key combination.
However if I am inside the HTML code the combination Ctrl+/ generates comments <!--some error code here-->. It works well for HTML. But for Dynamic Template Language (DTL) from Django the comments should be as follows: {% some error code here %}.
Is there any way to set up the key combination Ctrl+/ in PyCharm for making the DTL comments i.e. {% some error code here %}?
I use PyCharm 2023.1.2 (Community Edition) and Django 5.2.10.