How to use HTML comments in email signatures

Short answer:
HTML comments allow you to add notes inside your email signature code that are not visible to recipients.

What is an HTML comment?

An HTML comment is used to leave notes or explanations in your email signature source code.

Comments are useful for documenting your template, especially when multiple people are editing or maintaining the signature.

How HTML comments work

An HTML comment starts with <!-- and ends with -->.

Anything written inside the comment:

  • Is visible in the HTML source code
  • Is not displayed in the email signature

Example

<!-- This is a comment in the email signature -->

When to use HTML comments

  • Explain sections of your signature template
  • Leave notes for other admins or designers
  • Temporarily disable parts of the code (for testing)

Summary

HTML comments help you document and manage your email signature code without affecting how it appears to recipients.

Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.
Quick 1-on-1 Demo | Ⓒ 2026 Xink