Skip to content
| Marketplace
Sign in
Visual Studio Code>Snippets>HTML Short CommentNew to Visual Studio Code? Get it now.
HTML Short Comment

HTML Short Comment

SAIDREXXX

|
850 installs
| (1) | Free
A Visual Studio Code Extension to Provide Short Comments for HTML, SVG, XML and Astro Files (Similar Languages Are Supported Too)
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

HTML Short Comments

en es

GitHub stars GitHub Forks GitHub PRs GitHub issues GitHub Contributors

HTML Short Comments is an extension for Visual Studio Code that allows to improve productivity when commenting lines of code in files with comment syntax: <!-- This is a comment -->

Demo GIF

Configuration ⚙️

This extension can be configured in the User preferences.

"htmlshortcomment.defineCharacterToReplace": string This setting allows you to define the ending characters of a comment line for replacement, by default the default characters are//

Example 📄

"htmlshortcomment.defineCharacterToReplace": %%

The characters %% are defined to end the comment.

Este es un Comentario%% > <!-- Este es un Comentario -->

Supported Languages 💻

  • Astro 🚀
  • HTML 🌐
  • SVG 🖼️
  • XHTML 📃
  • XML 🏷️
  • XSL 📰
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft