Is it possible to add comment in template that is not displayed in review mode?

Not that I badly needed but I am just curious.
Is it possible to add comment in template that is not displayed in review mode?

I see in some add-ons that a line starting with # is not a part of executable code. I was wondering if there is a special character that would mean “don’t display this line” in review mode. For example I use some scripts and I want to kind of title them like:
# the script below is for this and that

Any code that is written between <!- and -> should not be displayed while reviewing, nor any javascript should be executed

e.g.

<!- this won't be displayed while reviewing ->

For the styling section you must use /* and */ instead

e.g.

/* this code won't have any effect on the styling of the card */

5 Likes