Alright then. This is my job (MD, ophthalmologist). You can permanently burn your retina with any bright light source, but it takes a lot of light and it usually takes some prolonged exposure. For example, stare at the sun on a bright day for about ten minutes straight and you'll almost for sure do some damage. A few seconds exposure to any flashlight that's not a laser is unlikely to do permanent damage, but there are plenty of flashlights out there that would do it with a prolonged exposure.
Just use common sense. If it hurts, don't do it. :ironic:
Short wavelength can be more damaging, yes. If you expose yourself to bright UV light like an arc welder for more than a few seconds you're going to get a surface burn, basically sunburn, on your corneal surface. Usually this heals up just fine after a few days.
However, long wavelength light can do damage as well. Glass blowers used to get weird cataracts in the old days from the infrared (heat) radiation from their work...