Kenny,That's fair enough, and no reason why that (if done carefully) should cause the alarm to go off.
However, breaking a car window requires some force and will cause the car to move slightly. That should cause the alarm to go off.
Not that I recommend testing it that way :-) Simply give your car a little push above the window, and I think you'll see what I mean...