Skip to content

comment

Allows you to leave un-rendered code inside a Liquid template. Any text within the opening and closing comment blocks will not be printed, and any Liquid code within will not be executed.

Example:

liquid
Hello
{% comment %}
  content
{% endcomment %}
There

Output

html
Hello

YouCan