Several of my accounts have old gas lighting and gas refrigerator lines UNFORTUNTLY the majority of these lines are alive.
What we normally do is open am area around these pipes to check integrity then remove the section sticking out of the wall or ceiling Or floor and plug or cap these lines well inside the area in question then we retest the integrity.
Just make sure your plumber is licensed and heavily insured.