Code "Q" is nontaxable combat pay. In TaxAct®, this is entered in Box 12 of Form W-2 Wage and Tax Statement.
To enter military wages reported on a W-2:
Note that any link in the information above is updated each year automatically and will take you to the most recent version of the document at the time it is accessed.