I think this question is directed to people who are in the long distance relationship rather than single.
I didn't want to commit for the reason I found it boring to shag with one person two nights in a row. No drama, no heartbreaks, no enemies. It was fair and convenient and I actually don't like it less with a condom. Single people have a lot of variety in their life which I'm afraid you won't have in your situation
But trust me, if it's love, you'll survive it even without masturbation.