It isn't possible to parse single lines AFAIK but Sesame does have an API that allows you to control what is done with parsed statements which would avoid the need for your code to actually store statements into a repository.
See the documentation for a simple example of just counting triples but you can easily do much more complex processing this way.