Template tracking code, breaks template

This may well be my error, but I am unable to determine what it is if so.

I am trying to put debugging information in my templates and partials, and I see several others on the forum are doing it, like so:

{{ "<!-- ENTERING name of file -->" | safeHTML }}

From how people are talking, its working for them.

However when I use it, no HTML is generated after that comment.

What am I doing wrong?

I just checked this code is working, well you have to share code so we can understand at least nearby portion of codes.

if you are putting it in template you can use following alos

It will also work in template.

Looks like you left something out here?

I’ll try to post something later.