How can I keyframe multiple (like 300) objects' show/hide property?
Create an Empty, keyframe its Visibility property, select all the objects you'd like to hide/show, select the newly created Empty, press CtrlL to open up Make Links menu and select Animation Data. 



Credit for the idea goes to @p2or, see: How to copy animation attributes to multiple objects?