title: json.net using JsonConvert.SerializeObject adds a comment to output
body: <p>How do I remove the comment at the bottom of created json string?</p>
  
  <p>I am attempting to use Json.net to convert xml to json. Specifically, I am fetching data from the Zillow API which returns XML which I need to deliver to a web browser as a json string. Thanks to questions/answers found on this site, I have been able to use json.net in my c# page to maket the conversion, BUT...</p>
  
  <p>I use the following to convert my xml to json:</p>
  
  <pre><code>public String GetJson(XmlDocument xml)
  {
      return Newtonsoft.Json.JsonConvert.SerializeObject(xml);
  }
  </code></pre>
  
  <p>I successfully get a json formatted String, but this comment is added at the bottom of the json (seems to be a timestamp).</p>
  
  <pre><code>{
  ... json-formatted output...
  /* H:011  T:134ms  S:1206  R:Tue May 02 07:59:03 PDT 2017  B:5.0.42642-master.3acb9f9~hotfix_pre.b72ccda */
  }
  </code></pre>
  
  <p>I have checked the original xml to verify the comment is not there, so I have concluded it is added by json.net. I have searched this site - and Google - for info on this, but I am not finding the right search tokens to find any mention of this comment.</p>
  
  <p>Thanks!</p>