Both spouses eligible individuals
The spouse of the taxpayer shall not be treated as a qualifying family member for purposes of subsection (a), if—
(A)#
the taxpayer is married at the close of the taxable year,
(B)#
the taxpayer and the taxpayer’s spouse are both eligible individuals during the taxable year, and
(C)#
the taxpayer files a separate return for the taxable year.