Rules Guy: Am I allowed to lean my wedge against the pin while putting?

Cropped photo of the legs of a golfer hitting a ball to placed on the hole

What do the rules say about leaning your club against the flagstick while putting?

Getty Images