Investors & landlords

No, it won't affect your capital gains.  The sale price is still the actual amount you received, not the inflated amount on the sales sheet which is pretty much only for loan purposes.