decomment
Removes comments from source text in 13 languages with one function and no dependencies. A comment marker inside a string, a template or a regex literal is left alone, and the output is always a byte subsequence of the input.
Install
cargo add decomment