Does a 318 and a 340 have any common parts?

Yes. Most non magnum small block parts are inter changable.