Skip to content
| Marketplace
Sign in
Visual Studio Code>Formatters>Clean Comments (Remove All Comments)New to Visual Studio Code? Get it now.
Clean Comments (Remove All Comments)

Clean Comments (Remove All Comments)

Sumonst21

|
1,233 installs
| (1) | Free
Remove all comments from your code at once! Unclutter and undocument your code in one go!
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

🚫 Remove Comments

Forked from the no longer maintained plibither8/vscode-remove-comments

License: MIT

Made_with_love_in India

Demo of usage

📜 About

Just copy-pasted some code from somewhere and it's obscenely documented with unnecessary comments everywhere? Remove Comments will help you undocument the code and remove all the comments present in the code by doing the job for you.

Remove Comments is a Visual Studio Code extension.

✨ Features

  • Supports both inline and multiline comments
  • Support for 60+ languages 🌐

Note: This extension does not 'uncomment' the comments present in the code, but removes them completely altogether.

📝 Usage

  • Install the extension by searching for Remove Comments in the editor's 'Extensions' tab, or by launching VS Code Quick Open (Ctrl+P) and entering:
ext install sumonst21.remove-comments
  • Once installed, remove comments in your code by opening the command palette (Ctrl+Shift+P), entering "Remove all comments" and pressing enter.
  • Voilà, all the comments are gone 🎉!

🌐 Supported Languages

List of Supported Languages
  • ACUCOBOL
  • Ada
  • AL
  • C
  • COBOL
  • Clojure
  • CoffeeScript
  • CSS
  • C++
  • C#
  • Dart
  • Dockerfile
  • Elixir
  • Erlang
  • F#
  • Go
  • GraphQL
  • Groovy
  • Haskell
  • Haxe
  • Kotlin
  • Java
  • JavaScript
  • JavaScript React
  • JSON with comments
  • Julia
  • LaTex
  • Less
  • Lisp
  • Lua
  • Makefile
  • Objective-C
  • Objective-C++
  • OpenCOBOL
  • Pascal
  • Perl
  • Perl 6
  • PHP
  • PL/SQL
  • PowerShell
  • Python
  • R
  • Racket
  • Rust
  • Ruby
  • Sass
  • Scala
  • SCSS
  • ShaderLab
  • ShellScript
  • SQL
  • Swift
  • Terraform
  • TypeScript
  • TypeScript React
  • Visual Basic
  • YAML

⚖️ License

Copyright (c) Sumonst21. All rights reserved.

Licensed under the MIT License.

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