title: Undesired indentation of commented code in netbeans
body: <p>First of all i am using NetBeans IDE 7.1 (Build 201112071828).</p>
  
  <p>I have this piece of code</p>
  
  <pre><code>&lt;script&gt;
      onload = function()
      {
          tooltip.init();
          var myTable = new SortedTable();
      }
  &lt;/script&gt;
  </code></pre>
  
  <p>If if place the cursor at the line <code>tooltip.init();</code> and press <kbd>ctrl</kbd>+<kbd>shift</kbd>+<kbd>c</kbd> it comments out this line. If i repeat this combination, the line is uncommented as expected.</p>
  
  <p>Now, if i have commented this piece and hit <kbd>alt</kbd>+<kbd>shift</kbd>+<kbd>f</kbd> to format my code, the commented line will be indented to the rest of the codeblock like this:</p>
  
  <pre><code>&lt;script&gt;
      onload = function()
      {
          //            tooltip.init();
          var myTable = new SortedTable();
      }
  &lt;/script&gt;
  </code></pre>
  
  <p>This indentation breaks the behavior of the comment shortcut, which will add a second comment at the beginning of the line on press.</p>
  
  <p>Is there any way i can disable indentation of commented code? I have searched the complete <code>Tools-&gt;Options-&gt;Editor-&gt;Formatting</code> and was not able to find this setting.</p>