Remove HTML comments from WordPress

Follow the instructions below to remove a HTML comment from your WordPress site with Lucas String Replace:

  1. Go to “Settings” → “Lucas String Replace”
  2. Click “Add new”
  3. Copy and paste the comment from the source code into the search field
  4. Enter a single space character into the replace field
  5. Click “Save”