Don't leave old code behind as comments. Just delete it. Git tracks the history of the project, so anything is recoverable.