Make sure there are no spaces in the comment tags. For example < !– will not activate the comment function. Inside the tags, you can have as many spaces as you’d like.

The // in the end tag will prevent the script from executing the comment function if scripts are supported by the browser. [1] X Research source