In form 502, it is mentioned that
For returns filed without payments, mail your completed return to:
Comptroller of Maryland
Revenue Administration Division
110 Carroll Street
Annapolis, MD 21411-0001
*********************************
For returns filed with payments, attach check or money order to Form PV. Make checks payable to Comptroller of Maryland. Do not attach Form PV or check/money order to Form 502. Place Form PV with attached check/money order on TOP of Form 502 and mail to:
Comptroller of Maryland
Payment Processing
PO Box 8888
Annapolis, MD 21401-8888