Title: HTML comment removal
Last modified: February 28, 2019

---

# HTML comment removal

 *  Resolved [George M](https://wordpress.org/support/users/plan9/)
 * (@plan9)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/html-comment-removal/)
 * Can this plugin remove HTML comments?

Viewing 8 replies - 1 through 8 (of 8 total)

 *  Plugin Author [Gabe Livan](https://wordpress.org/support/users/gabelivan/)
 * (@gabelivan)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/html-comment-removal/#post-11259671)
 * [@plan9](https://wordpress.org/support/users/plan9/) no, this feature is not 
   available. I will consider adding it though. Would you like an option to globally
   disable all HTML comments or select the ones you’d like to be stripped?
 *  Thread Starter [George M](https://wordpress.org/support/users/plan9/)
 * (@plan9)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/html-comment-removal/#post-11260542)
 * Hi Gabe
 * It would be great to have a global disable but with an option to allow specific
   ones – such as Google HTML comments that are needed for Google analytics. W3 
   Total Cache offers this option through a box to whitelist specific comment stems–
   it works but it isn’t very user friendly.
 *  Plugin Author [Gabe Livan](https://wordpress.org/support/users/gabelivan/)
 * (@gabelivan)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/html-comment-removal/#post-11264373)
 * [@plan9](https://wordpress.org/support/users/plan9/) I will consider your feature
   request to be added to the HTML cleanup. I was thinking of showing all comments
   and choose which ones to disable but it can get very complicated if there are
   many pages and lots of them on many pages (no need to overload the database etc.).
   Removing all with exception patterns would work much better! Moreover, special
   attention has to be given to the Internet Explorer conditional comments. Thanks
   for the suggestion!
 *  Plugin Author [Gabe Livan](https://wordpress.org/support/users/gabelivan/)
 * (@gabelivan)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/html-comment-removal/#post-11290318)
 * [@plan9](https://wordpress.org/support/users/plan9/) as promised, the feature“
   Strip HTML Comments” was added to the plugin’s settings under “HTML Source CleanUp”.
   Just re-download the 1.3.2.2 tag. The feature will obviously be implemented in
   1.3.2.3 when it will be released. Happy testing!
 *  Thread Starter [George M](https://wordpress.org/support/users/plan9/)
 * (@plan9)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/html-comment-removal/#post-11290618)
 * Hi
 * I’ve tested it and so far it works very well. I haven’t whitelisted anything 
   and all is working fine (even google analytics).
 * Thanks very much for this!
 *  Plugin Author [Gabe Livan](https://wordpress.org/support/users/gabelivan/)
 * (@gabelivan)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/html-comment-removal/#post-11297658)
 * [@plan9](https://wordpress.org/support/users/plan9/) cool, if you’re happy with
   the plugin overall, it would be good if you can leave a review about it at your
   earliest convenience: [https://wordpress.org/support/plugin/wp-asset-clean-up/reviews/?filter=5](https://wordpress.org/support/plugin/wp-asset-clean-up/reviews/?filter=5)
 * More features will come up soon, some related to UX and the way the asset list
   is showing for easier management. If you were to add a new feature to the plugin,
   what would it be?
 *  Thread Starter [George M](https://wordpress.org/support/users/plan9/)
 * (@plan9)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/html-comment-removal/#post-11391606)
 * [@gabelivan](https://wordpress.org/support/users/gabelivan/) I just left a review
   for the plugin. I’m not sure about any new features – but will let you know if
   anything springs to mind.
 * Thanks!
 *  Plugin Author [Gabe Livan](https://wordpress.org/support/users/gabelivan/)
 * (@gabelivan)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/html-comment-removal/#post-11391630)
 * [@plan9](https://wordpress.org/support/users/plan9/) thanks for that! Yes, if
   you notice anything that you believe it’s helpful or saves time, let me now!
 * Perhaps having a list of feature requests with voting options would be good to
   have somewhere so you can view let’s say ten requests and you can choose which
   one you believe it’s the most important. There are plugin developers doing that
   and I will consider having the same approach.

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘HTML comment removal’ is closed to new replies.

 * ![](https://ps.w.org/wp-asset-clean-up/assets/icon-256x256.png?rev=1981952)
 * [Asset CleanUp: Page Speed Booster](https://wordpress.org/plugins/wp-asset-clean-up/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-asset-clean-up/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-asset-clean-up/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-asset-clean-up/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-asset-clean-up/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-asset-clean-up/reviews/)

 * 8 replies
 * 2 participants
 * Last reply from: [Gabe Livan](https://wordpress.org/support/users/gabelivan/)
 * Last activity: [7 years, 2 months ago](https://wordpress.org/support/topic/html-comment-removal/#post-11391630)
 * Status: resolved