Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Comment Eraser ToolNew to Visual Studio Code? Get it now.
Comment Eraser Tool

Comment Eraser Tool

clean-comments

|
2 installs
| (0) | Free
Simple VS Code extension for removing unwanted comments.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Comment Cleaner

A simple VS Code extension that removes all comments from your code file with one command.

Features

  • Removes single-line and multi-line comments
  • Works on the active file you are editing
  • Fast and easy to use through the Command Palette

How to Use

  1. Open any code file
  2. Press Ctrl + Shift + P (or Cmd + Shift + P on Mac)
  3. Search: Remove Comments
  4. Run the command

Why Use It

  • Clean code before sharing
  • Useful for learning and code review
  • Keeps code files neat and readable

Coming Soon

  • Support for more languages
  • Option to remove comments from selected text only
  • Setting to keep TODO or important comments

Feedback & Support

Suggestions are welcome. You can share ideas and issues in the extension page. s

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft