Actually, I looked up their definition of "parked" and it's not specific enough to mention sidestands.
But you missed the real point: the law requires you have your feet on the pegs when the vehicle is "stationary, but not parked" which means stopped at a traffic light, stopped at an intersection, stopped at a drive-through window, etc,. Pretty much impossible for anyone who is not an extremely well balanced!
BTW, am I the only guy who goes through the drive-through window (taco Bell, etc.) on a motorcycle?