MODX has a special tag that can be used to comment out parts of your templates and chunks. Yee Jee Tso explains how and why to use them in this post originally published in 2012 - but updated recently with some fine examples of why using HTML comments alone are not enough.

Become an Author!

At MODX.today, we post an interesting article every day. This means writing a lot of content, and we need your help!

Become part of the MODX.today community by submitting a news post, tutorial, (p)review, link, or other interesting content. Share your knowledge and projects and get recognized for your efforts by the community.