Yes, the sulfuric gas can be irritating when it's directly in contact with you. Your guide will slightly change the route based on the direction of the wind near the holes that emit sulfuric gas to reduce the amount of gas you inhale. For more information, you can read the article Damavand Volcanic Crater and Sulfuric Gas.