Well yes, but you’re not leaving commented out code for anyone other than you. A “sane” git structure will automatically decline your pull request if it contains commented out code.
I say “sane” because I know a lot of places probably allow you to do it. You really don’t want to pollute a code base like that though.
I say “sane” because I know a lot of places probably allow you to do it. You really don’t want to pollute a code base like that though.