It is always better to remove code instead of commenting it out to keep the code base clean, you can use git history to get it back in case you needed it