title: How can use razor Comment on JavaScript block/
body: <p>When I create a razor comment block into a script block in cshtml file, the javascript intelisense gives me error.
  How we can solve this?
  hint: I use VisualStudio 2012 and Resharper 7.1.2</p>
  
  <p>I know that we can use nested comment like below code ( razor comment and a javascript comment outer of that)</p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
      //@*
      var something = "bla bla";
      //*@
      var other = "something else";
  &lt;/script&gt;
  </code></pre>
  
  <p>it must work properly but there are two problem
  1- intelisense gets me error yet
  2- Since razor ignore spaces, the rest of my codes after closing comment symbol ( *@ )</p>
  
  <p>Edit1:</p>
  
  <p>other things that I tried was:</p>
  
  <pre><code>/*@*
  var something = "bla bla";
  *@*/
  var other = "something else";
  </code></pre>
  
  <p>and    </p>
  
  <pre><code>/*@*
  var something = "bla bla";
  *@*/
  var other = "something else";
  </code></pre>
  
  <p>. but they have some problem too.</p>