It is not true. On the contrary, sunlight is harmful to human eyes. Sunlight is too strong for human eyes. The ultraviolet ray and infrared ray do direct harm to eyes. If eyes get too much stimulation of ultraviolet ray, the conjunctiva and the cornea will suffer damage. You may feel burning, hurt, afraid of light and hard to open your eyes. Infrared ray could travel longer and deeper than ultraviolet ray. Thus, the retina inside human eyes will be hurt if get too much stimulation of infrared ray. Both these damages could turn into different eye disease. That is why fisher, sailor and other people who expose in strong sunshine to often suffer bigger risk of having eye disease.