No Ocala Florida so far has never been hit by a hurricane so Ocala Florida is a much safer part of Florida to live in.
The hurricanes in Florida hit the parts of Florida most where they are near the Ocean so if you have an Ocean View in Florida and your house is near that area of water then the Hurricane is more likely to hit there than it is to hit areas of Florida that are further off away from the water.
Florida Hurricanes either hit south Florida, travel up the Atlantic coast or go into the Gulf and hit the panhandle of Florida or travel west.
If you want to live in Florida and avoid Hurricanes then Ocala Florida would be one of the best parts of Florida to live in and it's pretty cheap to live in Ocala Florida compared to many other parts of Florida.
I wouldn't mind retiring to Ocala Florida myself or at least have a winter home there were I could leave the cold area I'm in now for winter and then winter in Ocala Florida and then come back to my home where I am now in the spring.