Exclusion of retirement accounts from allowable financial resources.—
(A) Mandatory exclusions .— The Secretary shall exclude from financial resources under this subsection the value of— (i) any funds in a plan, contract, or account, described in sections 401(a), 403(a), 403(b), 408, 408A, 457(b), and 501(c)(18) of title 26 and the value of funds in a Federal Thrift Savings Plan account as provided in section 8439 of title 5 ; and (ii) any retirement program or account included in any successor or similar provision that may be enacted and determined to be exempt from tax under title 26.
(B) Discretionary exclusions .— The Secretary may exclude from financial resources under this subsection the value of any other retirement plans, contracts, or accounts (as determined by the Secretary).