Whatever it is, it looks nasty! \:o

Just a guess, it is probably some sort of nematode or round worm normally found in the intestines or elsewhere in fish. A more common eye parasite in fish is a type of fluke that causes cloudy eyes but they cannot be seen with the naked eye.