I tried to answer this earlier but AB's server threw a wobbly.
The Passport Agency's internal document for staff handling applications, says (in relation to countersignatories) " . . .not a relative of the applicant (this includes partners, in-laws, and step-parents)".
It's likely that other official bodies use the same criteria.