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 content

Output

Visible content

The 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.

Try this syntax in the editor.