The Sleep state is, in technospeak, called S3 where the computer suspends to RAM. In other words it suspends all activity and uses RAM to "remember" where it was prior to the sleep state. It then can restore the system completely by merely reading the suspended state from RAM. It should not have any effect on your SSD.
Hibernation, or S4, uses another method os suspending the system by writing the state to a HDD/SSD file named hiberfil.sys. The system is immediately restored from this hardware file on waking but this restore is a bit slower than restoring from RAM.
This state should not effect your SSD except in so far as it reads from and rewrites the file hiberfil.sys.
Both states are safe for SSDs but the S4 state does read from the SSD and doe3s rewrite the hiberfil.sys file every time it hibernates.