The 'versioned branch' fixer currently removes comments after a dropped if block:
import sys
-if sys.version_info < (3, 2):
- print("3.2")
-
-# let's go
print("ok")
The comment is outside of the block and should be preserved.
(Just fixed a similar issue in django-upgrade: adamchainz/django-upgrade#495 .)