If your goal is to hire for attribute "no disability" and I decline to say whether I possess that, then it's illegal to pass me over - same with attribute "is not a woman" or "is white." So unless you're suggesting that they ask these questions to enable them to practice illegal hiring discrimination, I'm not really sure this applies to my question.
Military service is the only one I can think of that's legal to take into consideration.