”single by choice”?

I was talking to a few friends and someone briefly mentioned how I have been single by whole life. I laughed and “groaned” as a joke but then my guy friend said “but she’s single by choice, that’s all I’m going to say”

I can’t seem to understand what he meant by that. Can someone help me understand
”single by choice”?
Post Opinion