The NetHack source contains code for several currently unimplemented features. Some of them are marked deferred, so they may or may not make it into the next version. Many of the following features are included in SLASH'EM.
The beholder (e): a type of floating eye (in fact many eyes on stalks coming out of an even bigger eye; derived from Dungeons & Dragons) with 5 gaze attacks: slowing, sleep, disintegration, stoning, and cancellation.
Depending on how the gaze attacks work (none of them are coded yet), the beholder could be an exceptionally nasty enemy.
The shimmering dragon (D): This would leave shimmering dragon scales and let you create shimmering dragon scale mail, which would confer displacement. Monster displacement is not yet implemented, which may be why this dragon is not yet present. There would be corresponding baby shimmering dragons.
Charon (@) and Cerberus are present in the source code if
CHARON is defined, but even if it is, they are both unique monsters which are not placed by any current map. Charon is a very high level peaceful human who, if true to his name's mythology, will ferry the player across the also-yet-to-be-implemented river Acheron/Styx for a fee.
Cerberus is a very high level dog who is tangentially related to Charon in Greek mythology, as the guardian of the gates to Hades. In the SLethe patch, he appears on the final level of the Lethe Gorge.
The spellbook of flame sphere and spellbook of freeze sphere: creates a tame flaming/freezing sphere which will eventually explode at hostile monsters. These spells are fully implemented into SLASH'EM and are starting objects for flame mages and ice mages respectively.
A special artifact attack of magic missiles (analogous to Fire Brand's fire, Frost Brand's cold, and Mjollnir's lightning), has been implemented. The weapon's description, most likely a placeholder, is "imaginary widget".
There is code for "burying" both you and monsters ("The floor opens up and swallows <monster>!"). You can be buried, and stay alive for a while (eventually suffocating), and you have the opportunity to tunnel out.
There is code that gives a 1 in 25 chance of applied bullwhips yanking a monster's weapon away from it, and it hitting you.
There is code that lets monsters use scrolls of fire as a last-resort offense.
There is code for creating force fields over an area of the map.
There is code to give elves a luck penalty for wielding cold iron.
The code for snagging shop inventory from outside the shop (currently requires a grappling hook) has a comment mentioning the possibility of telekinesis. This is partially coded in several functions to do with picking up items. 
There is a comment when using a stethoscope to make sure you have ears and are not deaf. The ears check is not implemented. However, deafness is actually implemented using using the
soundok flag, but you only go deaf when you fall unconscious (from sleep, hunger, or eating rotten food), which means you wouldn't be able to use a stethoscope in this state anyway. (Surprisingly, there is another way to go deaf, which is by setting the sound option to false, but it is unclear why anyone would willingly do this.)
There is code regarding invisible objects.
- Defunct features: Features that have been present in some previous version of NetHack but have since been removed.
- monst.c, line 351
- monst.c, line 1276
- monst.c, line 1585
- monst.c, line 2010
- monst.c, line 2501
- monst.c, line 302
- objects.c, line 836
- objects.c, line 837
- spell.c, line 170
- makemon.c, line 474
- shk.c, line 81
- objnam.c, line 2083
- artifact.c, line 1000
- dig.c, line 1456
- apply.c, line 2288
- muse.c, line 1083
- region.c, line 803
- topten.c, line 113
- wield.c, line 183
- you.h, line 178
- shk.c, line 441
- pickup.c, line 978
- pickup.c, line 1142
- pickup.c, line 1238
- apply.c, line 215
- flag.h, line 78
- timeout.c, line 370
- eat.c, line 2322
- eat.c, line 1226
- obj.h, line 83
- monst.c, line 147, monst.c, line 184, monst.c, line 176, monst.c, line 426, monst.c, line 433, monst.c, line 1349, monst.c, line 1423, monst.c, line 1744, monst.c, line 1774, monst.c, line 2063, monst.c, line 2477, monst.c, line 2879, monst.c, line 3220
- cmd.c, line 938