comment Tag

Omit blocks of text and code from being output.

Description

Omit blocks of text and code from being output or sent to the browser in any way.

      {% comment %}
      This will not appear on the final web page.
      {% endcomment %}
      

Compare this to a standard HTML comment, which will be sent to the browser:

      <!-- This will be sent to the browser, unlike the Liquid comment tag -->
      

Parameters

None.