Commenting out lines works in ESL similarly to Twig. You need to insert a hash character #
within and straight next to the opening and closing curly brackets.
Commenting out a single line:
{# rds.rds_reformation.prefix_color('1304632BFF','BFF')[0].item_sku_prefix|required#}
Commenting out multiple lines:
{# The following code will not be executed and nothing will be displayed
{% if category.posts %}
This category has posts
{% endif %}
#}
You can use commenting to test and troubleshoot HTML email campaigns preventing certain parts or sections of your mail from being displayed.
Commenting out lines in the VCE editor
This is what you would see in the VCE editor commenting out single and multiple lines:
There will be nothing displayed in the Contact Preview, so you should get empty results as below: