title: Comment key bindings in xml and java
body: <p>I can do comments in java code</p>
  
  <pre><code>Single line
  comment/uncomment Ctrl + /
  
  
  Multiline
  comment Ctrl + Shift + /
  uncomment Ctrl + Shift + \ 
  </code></pre>
  
  <p>I would like do the same with XML, but currently I can only do following:</p>
  
  <pre><code>Single line
  comment/uncomment Ctrl + Shift + C 
  
  Multiline:
  comment Ctrl + Shift + /
  </code></pre>
  
  <p>Why block uncomment not works in XML file? What is the reason of having different single line shortcuts in XML and JAVA?</p>
  
  <p>My key settings in my default Eclipse 2018-12 installation:</p>
  
  <p><a href="https://i.stack.imgur.com/OxiKS.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/OxiKS.png" alt="enter image description here"></a></p>
  
  <p><a href="https://i.stack.imgur.com/f4C2r.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/f4C2r.png" alt="enter image description here"></a></p>