✔ 最佳答案
First of all, working and marriage are two different things.
Even though you don't marry to a HK permanent resident but if you get employed and you can then apply the working visa since it requires the employer to sign such form, then if you can succeed to obtain working permit, you can work in HK with such working visa and apply a temporary Hong Kong id card, thereafter if you stay HK for 7 years, you can get a permanent resident HK Id card.
If you marry to a HK guy, you still must stay in HK for 7 years to become a permanent resident.
FAQ from immigration department:
Q13: I am a Hong Kong permanent resident and my fiance is a foreigner with no right of abode in the HKSAR. Can she, as a spouse of a Hong Kong permanent resident, enjoy the right of abode in the HKSAR?
A13: Generally speaking, spouse of Hong Kong permanent resident cannot acquire the right of abode in the HKSAR by virtue of their marriage unless the spouse is eligible, on his/her own accord, for Hong Kong permanent resident status under any provision of Schedule 1 to the Immigration Ordinance.