Add keymap [SPC]cl for comment and uncomment lines. Use nerdcommenter plugin to do the line code comments. Read nerdcommenter settings in edit layer.