The rule
Vent pipes carry air and waste pipes carry water and solids, and the code keeps those jobs separate. You can't drain a fixture into a pipe that's serving as a vent, and you can't use a waste pipe as a vent.
The exceptions are the special arrangements in Sections 908.0 through 911.0: wet venting, special venting for island fixtures, combination waste and vent systems, and circuit venting. Each comes with its own layout and sizing rules, so follow those sections to the letter, not shop habit.
Single-stack drainage and venting systems with unvented branch lines are prohibited. Every branch still needs its own proper vent arrangement. The inspector and the city's adopted edition of the code have the final word.
On the job
- Read the plan for pipes labeled as vents. One that picks up a fixture drain on its way up the wall is a waste pipe doing a vent's job, and it needs to be fixed.
- Wet-vent and combination waste-and-vent layouts are legal only under their own sections. Size and lay them out exactly as those sections say.
- Don't design a stack-only system and call the branches vented by the stack. Unvented branch lines are prohibited.
The inspector and your city's adopted edition have the final word.