This is like a trick question:
The A342 (and A310 and A300 passenger models) as well as the B762 are technically not in production, but the manufacturer will build the type if an airline places an order. But as almost all airliners are built only if there is an order outstanding, its difficult to distinguish the difference between "built on demand" or in production.
The real answer is that as long as the A300/A310 line is open for the production of freighters, Airbus can deliver a A300 passenger model or A310 if an airline wants one. While one might say that is unlikely, Japan Air System did recently take delivery of a handful of A300-600 passenger airliners to top off their fleet. The same with Boeing, as long as the 767 is in production, Boeing can deliver a 762; Boeing did just that a couple of years ago when CO
ordered 10 of the type for its "thin" long-haul routes, and the CO
762 have many of the updates that Boeing developed for the 767 line with the introduction of the 764, such as the new-style interior.