Exceptions
Subparagraph (A) shall not apply if the payment or distribution is—
(i)#
made to a beneficiary (or to the estate of the designated beneficiary) on or after the death of the designated beneficiary,
(ii)#
attributable to the designated beneficiary’s being disabled (within the meaning of section 72(m)(7)),
(iii)#
made on account of a scholarship, allowance, or payment described in section 25A(g)(2) received by the designated beneficiary to the extent the amount of the payment or distribution does not exceed the amount of the scholarship, allowance, or payment,
(iv)#
made on account of the attendance of the designated beneficiary at the United States Military Academy, the United States Naval Academy, the United States Air Force Academy, the United States Coast Guard Academy, or the United States Merchant Marine Academy, to the extent that the amount of the payment or distribution does not exceed the costs of advanced education (as defined by section 2005(e)(3) of title 10 , United States Code, as in effect on the date of the enactment of this section) attributable to such attendance, or
(v)#
an amount which is includible in gross income solely by application of paragraph (2)(C)(i)(II) for the taxable year.