At the moment (Geany 1.35 on Arch Linux) clicking anywhere in the fold column folds that section.
This seems like a bug (at least it's _really_ annoying) as the documentation says folding only happens if you click on the fold icon.
If it's not a bug then this behaviour should be documented and ideally be configurable.