/

August 5, 2024

How To Comment Out The Liquid Code In Shopify

In computer programming, a comment is a programmer-readable explanation or annotation in the source code of a computer program. They are added with the purpose of making the source code easier for humans to understand, and are generally ignored by compilers and interpreters.

 

Step 1: Click Online store > Themes.

Then Click Actions > Edit code.

 

Step 2: Select one file you want to comment out and comment line like this.

{% comment %} Code  {% endcomment %}

And then click save.

From the same category