Don't leave comments, just delete legacy code. Git keeps track of the history of the project.