Deductions & credits

Are you saying a home inspection fee can not be added to your cost basis?  This on a main home, not rental.