We know that splices in j-boxes must remain accessible.
What about a section of NM cable that was used to feed a range hood and is now capped off in a wall case with a blank cover, with an undercabinet microwave installed in front of it.
Or, for that matter, what about any box that has a circuit that is dead ended (no splices), blanked and spackled over?