Title: Multiple Line HTML Commenting Does Not Work
Last modified: August 20, 2016

---

# Multiple Line HTML Commenting Does Not Work

 *  [peterdub](https://wordpress.org/support/users/peterdub/)
 * (@peterdub)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/multiple-line-html-commenting-does-not-work/)
 * Multiple Line HTML Commenting Does Not Work…
 * For example
    <!– blah blah blah blah –> does not work
 * only
    <!– blah blah –> works
 * I find this annoying and would appreciate knowing if this or any other comment
   tag works to enclose several lines – or can be made to work by some coding or
   plug-in measure, preferably simple!

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

 *  Thread Starter [peterdub](https://wordpress.org/support/users/peterdub/)
 * (@peterdub)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/multiple-line-html-commenting-does-not-work/#post-2953407)
 * When I say does not work,
    I mean that wordpress just displays everything within
   the comment tags, and also the comment tags themselves, for multiple lines.
 * Please don’t just suggest “hey don’t use long commenting” or such 😉
    I would
   appreciate knowing if and how it is possible.
 *  Thread Starter [peterdub](https://wordpress.org/support/users/peterdub/)
 * (@peterdub)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/multiple-line-html-commenting-does-not-work/#post-2953435)
 * To clarify, I am in HTML editor OK
    (or presumably the single line comment would
   not work!)
 * The only thing I could find that might seem a useful quick workaround was
    <div
   style=”display: none;”> </div> Unfortunately, this too is very quirky in what
   is and is not shown… it does not seem to obey the </div> closing tag.

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

The topic ‘Multiple Line HTML Commenting Does Not Work’ is closed to new replies.

## Tags

 * [Coding](https://wordpress.org/support/topic-tag/coding/)
 * [commenting](https://wordpress.org/support/topic-tag/commenting/)
 * [Comments](https://wordpress.org/support/topic-tag/comments/)
 * [html](https://wordpress.org/support/topic-tag/html/)
 * [multiple lines](https://wordpress.org/support/topic-tag/multiple-lines/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 1 participant
 * Last reply from: [peterdub](https://wordpress.org/support/users/peterdub/)
 * Last activity: [13 years, 10 months ago](https://wordpress.org/support/topic/multiple-line-html-commenting-does-not-work/#post-2953435)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
