Removes comments from code files across multiple programming languages.
Comment Stripper is a flexible tool designed to batch process code files, removing comments to streamline code maintenance and preparation. Leveraging regular expression-based pattern matching, it currently supports a wide range of languages including JavaScript, TypeScript, Vue, CSS, HTML, Python, Java, C#, C++, Ruby, and PHP. The tool is MCP-compliant, meaning it integrates easily with other systems, and accepts individual files, directories (including subdirectories), or raw text input for comment removal. Built with Node.js and TypeScript, Comment Stripper offers a robust solution for cleaning code, improving readability, and preparing code for distribution or analysis.