title: Selecting HTML comments with jQuery
body: <p>Does any one know how to select HTML comment nodes with jQuery?</p>
  
  <pre><code>&lt;html&gt;
  &lt;head&gt;
      &lt;title&gt;Check Test&lt;/title&gt;
      &lt;script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"&gt;&lt;/script&gt;
      &lt;script type="text/javascript"&gt;
          $(function() {
              $("body *").each(function() {
                  alert($(this).wrap("&lt;span /&gt;").parent().html());
              });
          });
      &lt;/script&gt;
  &lt;/head&gt;
  &lt;body&gt;
      &lt;!-- Hello --&gt;  
      &lt;p&gt;
          &lt;label for="thing"&gt;Thing Label&lt;/label&gt;
          &lt;input id="thing" type="checkbox" /&gt;
      &lt;/p&gt;
  </code></pre>
  
  <p>
  </p>
  
  <p>This doesn't pick up the comment.</p>