If you enter in the keyboard command for commenting a xml line you get a error dialog. If you select the command from the menu system then the line is commented ...