It could have been like that in the old times. A married pilot was seen as a person looking for a stable, long term career in the same airline. Even better if he has kids. The guys that you see jumping from place to place every one or two years are usually single.
But now we live surrounded by beancounters. Single means smaller apartment, no wife and kids visa costs, medical or education allowances, less annual leave tickets and a long etc.
The way I see it, they may like it if you say that you've gone through vasectomy or that you're gay.