Does surgery effect dead lung tissue?

Depends. Depending on situation surgery may be required to remove dead or devitalized lung tissue.
Repost. With more details. What kind of surgery? What is your current lung condition? Are you referring to surgery or anesthesia? Thanks.