Title: HTML Minify without removing comments
Last modified: October 22, 2020

---

# HTML Minify without removing comments

 *  Resolved [ronnieee](https://wordpress.org/support/users/ronnieee/)
 * (@ronnieee)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/html-minify-without-removing-comments/)
 * I have <!–googleoff: snippet–> on a page and when HTML Minify is on this comment
   is removed. The Remove Comments option is only for JS/CSS it seems.
    Would it
   be possible to get an option to turn HTML Minify on but preserve comments in 
   the HTML?

Viewing 1 replies (of 1 total)

 *  Plugin Support [qtwrk](https://wordpress.org/support/users/qtwrk/)
 * (@qtwrk)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/html-minify-without-removing-comments/#post-13570018)
 * Hi,
 * Sadly this can not be done with current plugin.
 * If you don’t have a lot of comments in HTML source code , you could consider 
   disable HTML minify.
 * Best regards,

Viewing 1 replies (of 1 total)

The topic ‘HTML Minify without removing comments’ is closed to new replies.

 * ![](https://ps.w.org/litespeed-cache/assets/icon-256x256.png?rev=2554181)
 * [LiteSpeed Cache](https://wordpress.org/plugins/litespeed-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/litespeed-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/litespeed-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/litespeed-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/litespeed-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/litespeed-cache/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [qtwrk](https://wordpress.org/support/users/qtwrk/)
 * Last activity: [5 years, 8 months ago](https://wordpress.org/support/topic/html-minify-without-removing-comments/#post-13570018)
 * Status: resolved