For those of you familiar with SGML, watch out; XML comments are really different. SGML allows comments to show up in the middle of declarations in a variety of contexts; in XML, they have to stand alone. Also, the trick, popular among some of SGML users, of inserting empty declarations (<!>) is not legal in XML.
Back-link to specCopyright © 1998, Tim Bray. All rights reserved.