Source: Accounting Today: IRS Watch
Not only does the cost of demolition increase the value of the land, but also the remaining basis of the building must be added to the land value at the time of demolition.

Read More: Common depreciation missteps and misconceptions: Demolition of structures