If you do not need a line of code, just remove it. The whole point of code control such as Git is that if you needed something from the past you could look through history to find it. There is no need to keep things commented out so that you remember later.