Comments

PAD has two comment forms. Both are taken out of the template before it is scanned, so a tag written inside one never runs and nothing of it reaches the output.

PHP
HTML
fragments/comments_1.pad
Result
{set $total = 3}
{# {set $total = 99} - the tag inside a comment never runs #}
{-- the second form, the one the editor kits toggle --}
<p>Total: {$total}</p>

Total: 3

Rules

See Also