Sten_MkIIs: You must attack enemy with sniper mode. Then you can add unspent AP to your chance-to-hit, you can adding them more than 1 turn, until chance is equal 98%.
The maximum amount of AP which you can add, is depends of "Sniper fire" skill.
Grilledfish: I don't think there's a cap on the chance to hit with sniper mode. Like you say, it's limited by how much AP you can spend based on your sniper skill. A low-skilled sniper might not be able to spend enough points to get 100% accuracy. My high-level snipers were using snipe mode pretty much exclusively and making 100% headshots every other turn.
Yes, high level sniper can get this result, but AFAIR, there's indication cap on 98.
I don't have SS installed, I can't check so may be you are right and cap is 100%.
Anyway, i hope TS get the idea of how sniper mode works.