title: c# Reading XML comment using XDocument
body: <p>How to read xml comment when using XDocument?</p>
  
  <pre><code>XDocument doc = XDocument.Load("joker.xml");
   foreach (XElement element in doc.Descendants("server"))
              {
  //I use this to read server tag...
  }
  
  
  
  &lt;?xml version="1.0" encoding="ISO-8859-1"?&gt;
  &lt;ho&gt;
      &lt;!-- For X use only --&gt;
      &lt;servers&gt;
          &lt;server NAME="xx" &gt;&lt;/server&gt;
  
      &lt;!-- Dummy servers  --&gt;
          &lt;server NAME="xx" &gt;&lt;/server&gt;
          &lt;server NAME="xx" &gt;&lt;/server&gt;
      &lt;/servers&gt;
  &lt;/ho&gt;
  </code></pre>