Title: split options &#8220;Remove HTML, JavaScript and CSS comments&#8221;
Last modified: February 9, 2025

---

# split options “Remove HTML, JavaScript and CSS comments”

 *  Resolved [nimo24](https://wordpress.org/support/users/nimo24/)
 * (@nimo24)
 * [1 year, 4 months ago](https://wordpress.org/support/topic/split-options-remove-html-javascript-and-css-comments/)
 * For legal reasons, third-party JavaScript and CSS comments should not be removed.
   Currently it is not possible to remove only HTML comments as there is only one
   checkbox to remove all comments:
 * “Remove HTML, JavaScript and CSS comments”
 * Please provide three checkboxes instead:
    1. checkbox: remove HTML comments
    2. checkbox: remove JavaScript comments
    3. checkbox: remove CSS comments

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

 *  Plugin Author [Tim Eckel](https://wordpress.org/support/users/teckel/)
 * (@teckel)
 * [1 year, 4 months ago](https://wordpress.org/support/topic/split-options-remove-html-javascript-and-css-comments/#post-18294606)
 * If you don’t want to remove code comments, simply turn off that option. It doesn’t
   seem required to make it 3 options for your one use case when no one else has
   ever had an issue.
 *  Thread Starter [nimo24](https://wordpress.org/support/users/nimo24/)
 * (@nimo24)
 * [1 year, 3 months ago](https://wordpress.org/support/topic/split-options-remove-html-javascript-and-css-comments/#post-18296203)
 * >If you don’t want to remove code comments, simply turn off that option.
 * I only want to remove HTML comments but not CSS or JS comments. This is actually
   not possible with this plugin. By providing 3 options it would be possible..
 *  Plugin Author [Tim Eckel](https://wordpress.org/support/users/teckel/)
 * (@teckel)
 * [1 year, 3 months ago](https://wordpress.org/support/topic/split-options-remove-html-javascript-and-css-comments/#post-18297577)
 * Unfortunately, it’s all or nothing.

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

The topic ‘split options “Remove HTML, JavaScript and CSS comments”’ is closed to
new replies.

 * ![](https://ps.w.org/minify-html-markup/assets/icon-128x128.png?rev=1354357)
 * [Minify HTML](https://wordpress.org/plugins/minify-html-markup/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/minify-html-markup/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/minify-html-markup/)
 * [Active Topics](https://wordpress.org/support/plugin/minify-html-markup/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/minify-html-markup/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/minify-html-markup/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [Tim Eckel](https://wordpress.org/support/users/teckel/)
 * Last activity: [1 year, 3 months ago](https://wordpress.org/support/topic/split-options-remove-html-javascript-and-css-comments/#post-18297577)
 * Status: resolved