I don't know of a way to limit the dimension line, but here's what I do instead:
Go to the properties for the dimension to Add Text below the value. just type in a space to leave it blank, and it should trim back the dimension line as if there is text there.