There are 3 ways to comment out text or code in a Jekyll project:
HTML
To make an HTML comment:
<!-- My comment -->
Liquid
To make a Liquid comment:
{% comment %}My comment{% endcomment %}
kramdown
To make a kramdown comment:
{::comment}My comment{:/comment}