Paste your code, optionally enable Preserve JSDoc or Collapse blank lines, then click Remove Comments and copy the result.
No. The scanner tracks string and regex literals, so // inside "http://example.com" or inside a regex is kept — only real comments outside strings are removed.
Yes. Enable 'Preserve JSDoc' to keep /** ... */ documentation blocks while still removing ordinary /* */ and // comments.
After comments are removed, empty leftover lines can remain. Enabling the option collapses those blank lines so the output stays compact.