So... I'm a bit bummed that no one else has brought this up, considering it was discussed extensively here - but we'd want to be very careful about partial-hiding for the simple reason that we wouldn't want to hit readers with unpleasant surprises if they ran the snippet. I'm not even talking about potential security issues here; as soon as you can hide executable code while encouraging people to run it, you open the door to all sorts of griefing opportunities that are considerably less likely without it. At best, such behavior would break the assumption that snippets are self-contained solutions - if you think you're seeing everything needed to accomplish a task while in fact key elements are hidden, confusion will result.
At minimum, the option to run the snippet should not be made available unless the full code was made visible first.
Beyond that, I think the idea here is too limited to be of much value given you can already just copy the relevant code and hide the entire snippet (see my other answer for why you might want to do this anyway). The answer of yours that prompted this request is a perfect example - you've already posted two variations on the relevant code; what remains in the snippet is hardly more than this.
However, there are situations where this is not the case, where a fair bit of setup or tear-down code exists that is necessary for the example but irrelevant to the answer. What would be useful is the ability to mark specific lines or sections as visible, with the rest of the code collapsed by default. For example, one might use specially-formatted comments to selectively override the effects of hide: true
:

This would allow exposing the most important changes by default, and once expanded the example could then be run as normal. Again, this is probably overkill for simple jQuery examples, but I imagine it would be really nice for, say, D3 examples.