title: Can I place a comment inside a tag in ASP.NET?
body: <p>I am looking to display this in my <code>.aspx</code> page, without using special character XML tags, can this be achieved?</p>
  
  <pre><code>&lt;asp:ServerTag Property1="a"
      Property2="b"
      Property3="c" &lt;%-- Comment why this particular property is necessary --%&gt;
      Property4="d" /&gt; 
  </code></pre>
  
  <p>However, I am greeted with the error message <code>Server tags cannot contain &lt;% ... %&gt; constructs.</code> If I use an HTML &lt;!-- --&gt; tag, I'm told the server tag is not well formed.  </p>
  
  <p>Is there any other syntax to make this possible?</p>