Per Maryland Form 502 Instructions, page 4:
Enter the name of your county on the MARYLAND COUNTY line. If you lived in Baltimore City, leave the MARYLAND COUNTY line blank.
In order to correctly calculate the Baltimore City Tax Rate, the County field in the address section must be left blank. In order to do this, please select No County in the County field.
To enter the information in TaxAct: