LESS Silent Multiline Comment
Is there a way to create silent multiline comments in LESS? I want same behaviour as //comment, but for multiline strings. As already made clear by @harry the -x and clean-css options remove comments too. Since version 2 the clean-css option has been moved into a plugin ( npm install -g less-plugin-clean-css ). Since Less 2 you can use plugins, see also http://lesscss.org/usage/#plugins ,so you can write and use a plugin which removes your multiline comments. Example: Download and unzip clean-css into your working directory. You can find clean-css at https://github.com/jakubpawlowicz/clean-css