title: Processing an XML file removes comments
body: <p>This snippet <code>&lt;!--Please don't delete this--&gt;</code> is part of my xml file. After running this method, the resulting xml file does not contain this snippet anymore <code>&lt;!--Please don't delete this--&gt;</code>.  Why is this?</p>
  
  <p>Here's my method:</p>
  
  <pre><code>         XmlSerializer serializer = new XmlSerializer(typeof(Settings));
           TextWriter writer = new StreamWriter(path);
           serializer.Serialize(writer, settings);
           writer.Close();    
  </code></pre>