The squigly line to the left of the pit is a curtain of magical darkness (I probably got this idea out of one of the 2e Undermountain boxes).

The curtain itself is one of my favourite things to include in a random corridor in a megadungeon (and change whatever is behind it). Often, the curtain also blocks sound in my games. I usually manage to restrain myself and not overuse it though.