Originally Posted by digitalplumber
Is the ball valve code or absolutely necessary?
No necessary....but it means that if you want to add something in the future using that stub....you don't have to turn off the gas to do the work.
Case in point....over the past month I have turned off my gas about 6 times to finish up the gas lines in my 2-story addtion....I really wish I had installed a ball valve going to the addition....it would allow me to isolate that section and keep gas to the water heater and kitchen going.....
Translation...the wife would have been a lot happier....