Most answers on this site are by real estate professionals or mortgage professionals. Although most of us have some basic knowledge of the tax/real estate laws, it's best that you consult with a CPA/tax attorney or accountant to get the most up to date and accurate information. Your question, although real estate based, is really a question of tax law.
Licensed Real Estate Salesperson, NYS
Margot Bennett, Inc.