How to add comments in a template?

Oh. Ta! –I must have speed read past that bit

For others wondering the same thing, the TL;DR; version is to use the following format:

{{ "<!-- blah blah blah //-->" | safeHtml }}

Which is a bit clunky in my opinion. T’would be nice if there was config toggle a la --buildDrafts for this, such as --stripComments=false

4 Likes