comment
Add private template notes and developer remarks that are completely excluded from rendered HTML output.
Syntax
{% comment %} ... {% endcomment %}Example
{% comment %}Hidden dev note{% endcomment %}Visible contentOutput
Visible contentThe comment tag encloses template markup and text that Liquid ignores completely during rendering. Nothing inside a comment block appears in the final HTML document, making it invisible to web browsers and search engine crawlers.
In programmatic SEO production, comments document keyword column mappings and content guidelines directly inside template files. For example: {% comment %}Note: Ensure row.pricing includes currency symbols before modifying number_format filters in this section.{% endcomment %}. This allows safe team collaboration.
Filters
- abs
- append
- at_least
- at_most
- capitalize
- ceil
- compact
- concat
- date
- default
- divided_by
- downcase
- escape
- escape_once
- first
- floor
- join
- last
- lstrip
- map
- minus
- modulo
- newline_to_br
- plus
- prepend
- remove
- remove_first
- replace
- replace_first
- reverse
- round
- rstrip
- size
- slice
- sort
- sort_natural
- split
- strip
- strip_html
- strip_newlines
- times
- truncate
- truncatewords
- uniq
- upcase
- url_decode
- url_encode
- where
- raw
- slugify
- number_format
