comment
Text that isn’t rendered.
{% # text %} is a one-tag comment; inside {% liquid %}, lines starting with # are comments.
Syntax
Section titled “Syntax”{% comment %}…{% endcomment %} · {% # note %}Examples
Section titled “Examples”Shown{% comment %} Not shown {{ product.title }}{% endcomment %}ShownInline comment
Section titled “Inline comment”Shown{% # not shown %}{%- liquid # a comment line echo ' too'-%}Shown tooCompatibility
Section titled “Compatibility”Shopify: Same as Shopify.
Since theme platform 1.0.
Was this page helpful?

