The air quality can vary a lot here in Hong Kong. Some days it will be quite bad, while others will be ok. It is by no means as bad as the major mainland China cities.
Check out: http://aqicn.org/city/hongkong/ for more info on the air quality. You will find it varies across the city, with air quality usually being better away from the border and Central/Kowloon areas