Yes using a computer monitor in the dark is bad for your eyes since staring at the screen producing the light but having no light in the room you're using the monitor in will put strain on your eyes.
Always use at least a lamp to provide some lighting when using the monitor but it's best to use the monitor in a well lit room to avoid eye strain.