Depends on the culture. Some will even put their marital status on there - someone who is single has much more time to dedicate to a company compared to someone with a partner and kids at home.
In the US anyway its illegal to discriminate based on marital status and its a red flag when a candidate starts the conversation by volunteering that they are part of a protected class.