demo 1: html-comments

This demo page has five dummy comment nodes inside its source. Use buttons to reveal and put-back them.

Reveal HTML Comments button converts them into visible <p> elements. Put Back HTML Comments button creates Comment nodes dynamically and puts-back comments into the DOM.