Enforcement Rules of the Act Governing Relations with Hong Kong and Macau Article 23

“Serve in the military” referred to in Article 16 of the Act shall mean service in the military according to the Act Governing the Commission of Armed Forces Military Officers and Sergeants and the Act Governing the Assignment of Armed Forces Military Officers and Sergeants, excluding obligational service in the military.
中文原文 香港澳門關係條例施行細則第23條
本條例第十六條所稱擔任軍職,係指依陸海空軍軍官士官任官條例及陸海空軍軍官士官任職條例擔任軍職。
但不包括服義務役者在內。

English translation for reference only; the Chinese text prevails. Not legal advice.