I found there is a toggle comment for selected line . Could there be a core method for just for commenting / uncommenting irrespective of toggling. because with toggling it doesn’t do anything if half of it is commented
It appears that the comment toggling method do not expose a way to separate commenting from uncommenting. It could be a good thing to refactor this part so that the language mode expose a method for each actions.
I won’t have time to make a PR, but I think it make a interesting thing to start contributing to Atom .