This can now be achieved using the Marketing Opt-Out option: http://docs.whmcs.com/Other_Tab#Marketing_Opt-out
Provided the 'Marketing Email? checkbox is ticked when composing a mass mail, users who have opted out from receiving marketing emails will not receive it.