I also once by accident was able to take out a deckgun on a merchant and after that, I tried to concentrate my fire onto the locations, where deckguns and searclights were placed on enemy ships, but I found it to diffecult and dangerous to use that practice. Therefore I am now back aiming at the ship just above the sea level.
Good hunting