HTML COMMENTS
HTML comments are used to add notes or explanations within your HTML code. These comments are not visible to users on the webpage, but they can be seen in the page's source code. Comments are helpful for documenting your code, explaining sections, or temporarily disabling parts of your code during development.
HTML Comment Syntax
HTML comments are written between
<!-- and -->
tags.
Here’s the basic syntax:

HTML Example
Here’s a complete HTML document with comments for better understanding:

Considerations
- Visibility Comments are not visible to users but can be viewed by anyone who views the page source. They should not include sensitive information
- Performance HTML comments have no impact on page performance, but excessive commenting or large comments can make the source code harder to read and manage.