When editing the code in liquid files, you can use standard HTML comments, which will not display on the page itself but your customers will be able to see if they click “view source” to view the code of the page they are looking at:
For comments that do not appear to the customer at all, use the Liquid comment tag:
{% comment %}Enter your comments here{% endcomment %}