2.2. Comments

Template comments are surrounded by asterisks and may contain both static text and OPT tags. They are not displayed in the final output, unlike HTML comments. They are useful for making internal notes in the templates or in debugging purposes.

Example 2.1. Template comments

{* This is a single line comment *}
{* This is a
multiline comment *}
<p>This is a static code</p>
{* show the $date block here *}
{$date}
&lt;!-- This comment is sent to the browser --&gt;