Code comments in TPL file that wont be rendered in HTML?
You can use PHP comments, those will be ignored by the template engine and not rendered to HTML:

&lt;div class="something"&gt;
  &lt;?php /* This won't be visible in the source. */ ?&gt;
&lt;/div&gt;