// formatters
Remove YAML Comments.
Remove all comments and blank lines from a YAML document while preserving structure and quoting.
Client-sideQuote-awareNo upload
YAML input
Stripped
FAQ
Does it preserve the structure?
Yes. Comments and blank lines are removed but the parsed YAML is re-emitted, so indentation and quoting are normalised.
What about hashes inside quoted strings?
Quotes win. A # inside a single or double quoted string is preserved as a literal character.