This may seem suitable since the only purpose for the stack is to provide air and expel sewer gases.
Vent pipe hieght above roof.
In other words the highest point within a 10 foot circle of the pipe.
We install our roof vents 6 to 8 inches above the roof line.
If the roof area is for people then it is 7 ft above the roofing surface.
A vent terminal and depending if the roof is strictly for weather protection it terminates about 24 above the roof.
Above the roof plumbing vent height.
The soil pipe also known as the vent stack or stack pipe provides air for the plumbing system.
For those stinky vents consider installing odor hog vent caps see image on the roof vents.
Vent pipes should extend to outdoors above the building roof and should terminate vertically not less than 6 above the roof surface nor more than 24 and must be at least 12 from any vertical surface such as a nearby sidewall.
If the pipe is farther than 10 feet from the roof peak it must be 2 feet above the highest point of the roof within 10 feet.
Depending on your region the vent stack may protrude only a few inches above the surface of the roof.