Some of this answer is implicit in many people's comments, but let's make it explicit.
Here's a question. It seems to you that the area under the curve --- of Dirichelt's function --- is zero. But Dirichelt's function is not a "curve", precisely because it is discontinuous. What then do you mean?
Let's consider that idea of "under the curve", for some possible failures of intuition.
If you take the phrase "under the curve" very seriously, you'll probably be thinking of something like the lower Darboux sum. This, indeed, is zero for any interval, because there is no space for any rectangles of finite width underneath "the curve". The problem is that the Darboux integral is not well-defined, because the upper Darboux sum for any interval is the length of the interval --- because the shortest rectangles of finite width which envelop the function are the rectangles of height 1.
Thus, Dirichlet's function is not integrable by techniques such as the Darboux integral, because the upper and lower Darboux sums do not coincide. Additional techniques are required --- such as measure theory --- to define the integral at all.