Comments
Last updated
Was this helpful?
Last updated
Was this helpful?
Prevents an expression from being rendered or output.
Any text inside comment
tags won't be output, and any Liquid code will be parsed, but not executed.
Inline comments prevent an expression inside of a tag {% %}
from being rendered or output.
You can use inline comment tags to annotate your code, or to temporarily prevent logic in your code from executing.
You can create multi-line inline comments. However, each line in the tag must begin with a #
, or a syntax error will occur.
liquid
tagsYou can use inline comment tags inside . The tag must be used for each line that you want to comment.