title: JAXB - marshal with java comments
body: <p>I am new to JAXB and for the beginning I am marshaling some simple Java files like <code>Hello, world!</code>.</p>
  
  <p>I want to marshal whole file, even with my comments lines placed like this:</p>
  
  <pre><code>/*
  * some comment
  */
  
  //another comment
  </code></pre>
  
  <p>And get them in XML in comment block:</p>
  
  <pre><code>&lt;!--
  some comment
  --&gt;
  
  &lt;!-- another comment --&gt;
  </code></pre>
  
  <p>Is there any way to marshal java files with comments?</p>