Having too much code can be problematic, but only if it represents a failure to make a minimum, compilable, verifiable example.
Personally, it's far more common for questions to contain too little, and there are a lot of cases where larger quantities of code have been helpful in making a good answer. For example, Why is PySide's exception handling extending this object's lifetime? was a breeze to debug due to the complete example and thorough explanation, despite being larger than average.
I think having such a system risks discouraging good questions like the above, and bad long question dumps won't be made better by being haplessly shortened - if anything they'll become even more cryptic.
I may be biased; I have quite a few long questions - and some are probably too long - but this seems like a warning too many.