Add option to preserve comments, thanks to @arikon