Only real trick I have is not to AA 90degree lines, as in
.
.
.
.
.
Assuming you meant 45º lines, as in

I've always disagreed with not AAing these lines, at least under all circumstances.
As most of us will agree, AAing is mostly math, and using simple math it's easy to see that a 45º line is not actually "1 pixel thick":

If you were to move the edges of the diagonal line to fill in the gaps- it becomes much clearer

You can see that a diagonal line only occupies 60% the width of a straight line. (as in working with the physical orientation of pixels)
This is why over long stretches of a 45º line I think it's appropriate to AA, preferably 40% of the colour of the line itself.
However, it's not really necessary over short lines, or when lines are several pixels thick