In the current latest snapshot of the game, 20w11a, a player appears to be able to place sugar cane underwater, the only required condition being that it is placed on grass, dirt, or sand with water adjacent to it. There doesn't appear to be a restriction for underwater, which likely is a bug.
Related issues
duplicates
Attachments
Comments

[media]

This is intentional. See MC-929