Prior to the 1968 Gun Control Act, there was no legal requirement to serialize rifles and shotguns. Lower cost firearms- notably 22 rifles- usually did not HAVE a serial number- and it is perfectly legal. Just don't REMOVE an existing serial number.
I have around a dozen or so Mossberg 22 rifles. ONE has a serial number- it was made for the US Govt as a military trainer.