Seems to me that you are much safer in a hammock. As long as you are dry, you are not a conductor.

Electricity takes the most direct route. If it hits your tree, the direct route is straight...