Get your taxes done using TurboTax

Yes. Since the IRS gets a copy of the 1099-S they will be looking for the reporting of that form on your return. Without your reporting of the gain exclusion the IRS would have no idea that you could exclude the gain.