Jade-Lang.com
An independent reference for the historical Jade template syntax.
Comments
Jade provides two main types of comments.
Rendered comments
A normal comment becomes an HTML comment.
// This comment appears in the HTML
Template-only comments
Prefix the comment with - when you want it to remain in the source template without appearing in the generated HTML.
//- This comment is only for template authors
This is particularly useful for documenting complicated template logic without adding unnecessary content to the final page. (source)
Jade Language © 2026 | About Us | Privacy Policy