If in your example you did not want the 2 perpendicular faces to give you the weird shading, but you don't want to see the line, then keep it "soft" and NOT "smooth".
Select the line, and use "entity info" to make the adjustment.
Don't use "hidden", which effectively is both soft and smooth, but also has other attributes you may not want.